﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LogMgr.aspx.cs" Inherits="LogMgr" %>

<%@ Register Assembly="YYWebControl" Namespace="YYWebControl.YYSimpleCalendar" TagPrefix="YYWebControl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>运行日志管理</title>
     <LINK href="../CSS/hfmanger.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/common.js"></script>
    <script type="text/javascript" src="js/subModal.js"></script>


</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table  width="100%">
            <tr>
                <td align="left" class="toolbar" colspan="3" style="height: 23px" valign="middle">
                    <asp:Image ID="Image1" runat="server" ImageUrl="../images/rss_2.gif" /><strong>运行日志管理</strong></td>
            </tr>
            <tr>
                <td align="left" colspan="3" style="height: 15px" valign="middle">
                    &nbsp;</td>
            </tr>
            <tr>
            <td align=center><table style="width:98%"><tr>
                <td align="left" class="listContent" colspan="3" style="height: 23px" valign="middle">
                    &nbsp;<asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" Text="删除"/>
                    <asp:CheckBox ID="cbxDataTime" runat="server" Text="时间:" Checked="True" Enabled="False" />
                    从
                    到&nbsp;<YYWebControl:YYSimpleCalendar ID="YYSimpleCalendar1" runat="server" />
                    <YYWebControl:YYSimpleCalendar ID="YYSimpleCalendar2" runat="server" />
                    <asp:CheckBox ID="cbxType" runat="server" OnCheckedChanged="CheckBox1_CheckedChanged"
                        Text="类型" />
                    <asp:TextBox ID="tbxType" runat="server"></asp:TextBox>
                                    <asp:Button ID="btnSearch" runat="server" meta:resourcekey="Button1Resource2" OnClick="btnSearch_Click"
                                        Text="查询" />&nbsp;
                    </td>
                    </tr>
                    </table>
                    </td>
            </tr>
            <tr>
                <td colspan="3" align=center>
                <table style="width:98%"><tr><td class="listContent" >
                    <asp:GridView ID="gvLog" runat="server" width=100% AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="#333333" GridLines="None" PageSize="20" DataKeyNames="LogId" 
                        EnableModelValidation="True">
                        <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="Black" />
                        <Columns>
                            <asp:TemplateField HeaderText="全选">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="ItemCheckBox" runat="server" />
                                </ItemTemplate>
                                <ItemStyle Width="40px" />
                                <HeaderTemplate>
                                    选择
                                </HeaderTemplate>
                            </asp:TemplateField>
                            <asp:HyperLinkField DataNavigateUrlFields="LogId" DataNavigateUrlFormatString="#"
                                DataTextField="LogId" HeaderText="流水号">
                                <ItemStyle Width="60px" />
                            </asp:HyperLinkField>
                            <asp:BoundField DataField="LogContent" HeaderText="内容">
                                <ItemStyle Width="400px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="LogType" HeaderText="类型">
                                <ItemStyle Width="240px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="LogDatetime" HeaderText="时间">
                                <ItemStyle Width="80px" />
                            </asp:BoundField>
                        </Columns>
                        <RowStyle BackColor="#EFF3FB" />
                        <EditRowStyle BackColor="#2461BF" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle ForeColor="Black" HorizontalAlign="Center" />
                        <HeaderStyle Font-Bold="True" ForeColor="Black" CssClass="gridHead" HorizontalAlign="Left" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView></td></tr></table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>

</html>
